import excel "Copy of municipal_data_updated_v4.xlsx", sheet("Kommuner") firstrow

generate logdamages= log( damages_dkk)
replace logdamages=0 if damages_dkk==0


generate logkilled= log( number_killed )
replace logkilled=0 if number_killed ==0

generate leftvoteshare = soc_dem_voteshare_1971+ soc_peoples_party_voteshare_1971+ communist_voteshare_1971+ left_socialists_voteshare_1971
generate farleftvoteshare = soc_peoples_party_voteshare_1971+ communist_voteshare_1971+ left_socialists_voteshare_1971
encode county, gen(county_n)

generate logpopulation= log( population_1972)
generate urbanshare=  urban_population_1970/population_1970

generate logpopulation1940= log( pop_total_1940)
generate urbanshare1940=   pop_city_1940/pop_total_1940



encode county_pre_1970 , gen(county_pre_1970_n)

generate communist_1939_vote_share = kommunistisk_parti_votes_1939/ valid_votes_1939*100

generate dansk_samling_1939_vote_share = dansk_samling_votes_1939 / valid_votes_1939*100

generate repressionindex2= number_killed+ number_attempted_killed/2+ wounded/2 +damages_dkk/1000000

*Table 1: Descriptive statistics*
sum share_no_votes_ef_1972 number_killed repressionindex2  logpopulation1940 urbanshare1940 urbanshare logpopulation communist_1939_vote_share dansk_samling_1939_vote_share nazi_party_vote_share_1939 


*Use of repression indexes instead*

*Linear plot*
twoway (scatter share_no_votes_ef_1972 repressionindex2 , mcolor(gs7)  ) (lfit share_no_votes_ef_1972 repressionindex2 , lcolor(gs0) ), legend (off) ytitle (Share of 'no' votes 1972 referendum) xtitle (Repression Index) graphregion(color(white))



*Table 2: Main analysis*

reg share_no_votes_ef_1972 repressionindex2, robust 
reg share_no_votes_ef_1972 repressionindex2   i.county_n, robust
reg share_no_votes_ef_1972 repressionindex2   logpopulation1940 urbanshare1940 i.county_n, robust
reg share_no_votes_ef_1972 repressionindex2 nazi_party_vote_share_1939 communist_1939_vote_share dansk_samling_1939_vote_share logpopulation1940 urbanshare1940 i.county_n, robust
reg share_no_votes_ef_1972 repressionindex2 urbanshare logpopulation  i.county_n, robust
reg share_no_votes_ef_1972 repressionindex2 nazi_party_vote_share_1939 communist_1939_vote_share dansk_samling_1939_vote_share logpopulation1940 urbanshare1940 urbanshare logpopulation i.county_n, robust


*Footnote: Main analysis with pre-war county-fixed effects (eliminates pre-war covariates)*
reg share_no_votes_ef_1972 repressionindex2, robust 
reg share_no_votes_ef_1972 repressionindex2   i.county_pre_1970_n, robust
reg share_no_votes_ef_1972 repressionindex2   logpopulation1940 urbanshare1940 i.county_pre_1970_n, robust
reg share_no_votes_ef_1972 repressionindex2 nazi_party_vote_share_1939 communist_1939_vote_share dansk_samling_1939_vote_share logpopulation1940 urbanshare1940 i.county_pre_1970_n, robust
reg share_no_votes_ef_1972 repressionindex2 urbanshare logpopulation  i.county_pre_1970_n, robust
reg share_no_votes_ef_1972 repressionindex2 nazi_party_vote_share_1939 communist_1939_vote_share dansk_samling_1939_vote_share logpopulation1940 urbanshare1940 urbanshare logpopulation i.county_pre_1970_n, robust



*Footnote: With average DKP vote share as controls instead*
reg share_no_votes_ef_1972 repressionindex2 nazi_party_vote_share_1939 average_DKP_vote_share_19201935 dansk_samling_1939_vote_share logpopulation1940 urbanshare1940 i.county_n, robust

reg share_no_votes_ef_1972 repressionindex2 nazi_party_vote_share_1939 average_DKP_vote_share_19201935 dansk_samling_1939_vote_share logpopulation1940 urbanshare1940 urbanshare logpopulation i.county_n, robust




*Table 2: Mechanisms*
reg communist_voteshare_1971 repressionindex2 logpopulation urbanshare communist_1939_vote_share i.county_n, robust
reg soc_peoples_party_voteshare_1971 repressionindex2 logpopulation communist_1939_vote_share urbanshare i.county_n, robust
reg left_socialists_voteshare_1971 repressionindex2  logpopulation communist_1939_vote_share urbanshare i.county_n, robust
reg farleftvoteshare repressionindex2 logpopulation urbanshare communist_1939_vote_share i.county_n, robust
reg soc_dem_voteshare_1971  repressionindex2 logpopulation urbanshare communist_1939_vote_share i.county_n, robust


*Table 4: Mechanisms*
reg share_no_votes_ef_1972 farleftvoteshare  logpopulation urbanshare  i.county_n, robust

twoway (scatter share_no_votes_ef_1972 farleftvoteshare, mcolor(gs7)  ) (lfit share_no_votes_ef_1972 farleftvoteshare, lcolor(gs0) ), legend (off) ytitle (Share of 'no' votes 1972 referendum) xtitle (Far-left vote share 1971 election) graphregion(color(white))


reg share_no_votes_ef_1972  communist_voteshare_1971 left_socialists_voteshare_1971 soc_peoples_party_voteshare_1971 logpopulation urbanshare  i.county_n, robust

reg share_no_votes_ef_1972  communist_voteshare_1971  logpopulation urbanshare  i.county_n, robust
reg share_no_votes_ef_1972   soc_peoples_party_voteshare_1971 logpopulation urbanshare  i.county_n, robust
reg share_no_votes_ef_1972  left_socialists_voteshare_1971  logpopulation urbanshare  i.county_n, robust


*Figure 8: In other referenda*

destring no_votes_1986, replace

destring no_votes_1992, replace

destring no_votes_1993, replace

destring no_votes_1998, replace

destring no_votes_2000, replace


ssc install coefplot
generate logpop1986= log( population_1986)
generate logpop1992= log( population_1992)
generate logpop1993= log( population_1993)
generate logpop1998= log( population_1998)
generate logpop2000= log( population_2000)

generate urbanshare1986= (population_1986 - rural_pop_1986)/population_1986
generate urbanshare1992= (population_1992 - rural_pop_1992)/population_1992
generate urbanshare1998= (population_1998 - rural_pop_1998)/population_1998
generate urbanshare2000= (population_2000 - rural_pop_2000)/population_2000

reg share_no_votes_ef_1972 repressionindex2 nazi_party_vote_share_1939 communist_1939_vote_share dansk_samling_1939_vote_share logpopulation1940 urbanshare1940 logpopulation urbanshare i.county_n, robust
estimates store r1972
reg no_votes_1986 repressionindex2 nazi_party_vote_share_1939 communist_1939_vote_share dansk_samling_1939_vote_share logpopulation1940 urbanshare1940 logpop1986 urbanshare1986  i.county_n, robust
estimates store r1986
reg no_votes_1992 repressionindex2 nazi_party_vote_share_1939 communist_1939_vote_share dansk_samling_1939_vote_share logpopulation1940 urbanshare1940 logpop1992 urbanshare1992  i.county_n, robust
estimates store r1992
reg no_votes_1993 repressionindex2 nazi_party_vote_share_1939 communist_1939_vote_share dansk_samling_1939_vote_share logpopulation1940 urbanshare1940 logpop1993 urbanshare1992  i.county_n, robust
estimates store r1993
reg no_votes_1998 repressionindex2 nazi_party_vote_share_1939 communist_1939_vote_share dansk_samling_1939_vote_share logpopulation1940 urbanshare1940  logpop1998 urbanshare1998   i.county_n, robust
estimates store r1998
reg no_votes_2000 repressionindex2 nazi_party_vote_share_1939 communist_1939_vote_share dansk_samling_1939_vote_share logpopulation1940 urbanshare1940 logpop2000 urbanshare2000   i.county_n, robust
estimates store r2000
coefplot (r1972, label(1972 EEC membership) msymbol(circle)mcolor(gs0)ciopts(lcolor(gs0)))  (r1986, label(1986 Single European Act)msymbol(diamond)mcolor(gs2)ciopts(lcolor(gs2)))  (r1992, label(1992 Maastricht Treaty)msymbol(square)mcolor(gs4)ciopts(lcolor(gs4)))  (r1993, label(1993 Maastricht (Edinburgh) Treaty)msymbol(circle_hollow)mcolor(gs6)ciopts(lcolor(gs6)))  (r1998, label(1998 Amsterdam Treaty)msymbol(X)mcolor(gs8)ciopts(lcolor(gs8))msize(large))  (r2000, label(2000 Euro adoption )msymbol(arrowf)mcolor(gs10)ciopts(lcolor(gs10))msize(large))  ,  ylabel(, format(%9.1f))graphregion(color(white)) level(90) xlabel("") ytitle("Effect of German Terror on no vote share") vertical  keep(repressionindex2) yline(0, lstyle(grid) lcolor(gs8) lpattern(dash))



*Merging with later electoral data*

destring kommunenummer, replace
merge m:1 kommunenummer using "D:/Forskning og undervisning/German Occupation and suppot for international cooperation/1984election.dta"
drop _merge
merge m:1 kommunenummer using "D:/Forskning og undervisning/German Occupation and suppot for international cooperation/1990election.dta"
drop _merge
merge m:1 kommunenummer using "D:/Forskning og undervisning/German Occupation and suppot for international cooperation/1998election.dta"


generate farleft1984=(fv1984fsocialistiskfolkeparti + fv1984kdanmarkskommunistiskepart + fv1984yvenstresocialisterne)/fv1984gyldigestemmer*100


generate farleft1990=(  fv1990fsocialistiskfolkeparti + FV1990ØEnhedslisten )/fv1990gyldigestemmer*100

generate farleft1998=(  fv1998fsocialistiskfolkeparti + FV1998ØEnhedslistenDeRødGrønne )/fv1998gyldigestemmer*100

generate enhedslisten1998= ( FV1998ØEnhedslistenDeRødGrønne )/fv1998gyldigestemmer*100

generate enhedslisten1990= (  FV1990ØEnhedslisten )/fv1990gyldigestemmer*100


*Figure 9: Effect of far-left on vote share over time*
reg share_no_votes_ef_1972 farleftvoteshare  logpopulation urbanshare  i.county_n, robust
estimates store r1972
reg no_votes_1986  farleft1984 logpop1986 urbanshare1986  i.county_n, robust
estimates store r1986
reg no_votes_1992 farleft1990 logpop1992 urbanshare1992  i.county_n, robust
estimates store r1992
reg no_votes_1993  farleft1990 logpop1993 urbanshare1992  i.county_n, robust
estimates store r1993
reg no_votes_1998   farleft1998 logpop1998 urbanshare1998   i.county_n, robust
estimates store r1998
reg no_votes_2000  farleft1998 logpop2000 urbanshare2000   i.county_n, robust
estimates store r2000
coefplot (r1972, label(1972 EEC membership) msymbol(circle)mcolor(gs0)ciopts(lcolor(gs0)))  (r1986, label(1986 Single European Act)msymbol(diamond)mcolor(gs2)ciopts(lcolor(gs2)))  (r1992, label(1992 Maastricht Treaty)msymbol(square)mcolor(gs4)ciopts(lcolor(gs4)))  (r1993, label(1993 Maastricht (Edinburgh) Treaty)msymbol(circle_hollow)mcolor(gs6)ciopts(lcolor(gs6)))  (r1998, label(1998 Amsterdam Treaty)msymbol(X)mcolor(gs8)ciopts(lcolor(gs8))msize(large))  (r2000, label(2000 Euro adoption )msymbol(arrowf)mcolor(gs10)ciopts(lcolor(gs10))msize(large))  ,  ylabel(, format(%9.1f))graphregion(color(white)) level(90) xlabel("") ytitle("Effect of far-left vote share on no vote share") vertical  keep(farleftvoteshare farleft1984 farleft1990 farleft1998) 



*Figure 9: Left-wing vote share and Terror after 1972*
reg farleftvoteshare repressionindex2 logpopulation urbanshare communist_1939_vote_share i.county_n, robust
estimates store e1971
reg farleft1984 repressionindex2 logpop1986 urbanshare1986 communist_1939_vote_share i.county_n, robust
estimates store e1984
reg farleft1990 repressionindex2 logpop1992 urbanshare1992 communist_1939_vote_share i.county_n, robust
estimates store e1990
reg farleft1998 repressionindex2 logpop1998 urbanshare1998 communist_1939_vote_share i.county_n, robust
estimates store e1998
coefplot (e1971, label(1971 election) msymbol(circle)mcolor(gs0)ciopts(lcolor(gs0)))  (e1984, label(1984 election)msymbol(diamond)mcolor(gs2)ciopts(lcolor(gs2)))  (e1990, label(1990 election)msymbol(square)mcolor(gs4)ciopts(lcolor(gs4)))  (e1998, label(1998 election)msymbol(circle_hollow)mcolor(gs6)ciopts(lcolor(gs6)))   ,  ylabel(, format(%9.2f))graphregion(color(white)) level(90) xlabel("") ytitle("Effect of Terror on far-left vote share") vertical  keep(repressionindex2) yline(0, lstyle(grid) lcolor(gs8) lpattern(dash))


*Appendix: Balance tests:


sum  logpopulation1940 urbanshare1940 urbanshare logpopulation communist_1939_vote_share dansk_samling_1939_vote_share nazi_party_vote_share_1939 if  repressionindex2==0  


sum  logpopulation1940 urbanshare1940 urbanshare logpopulation communist_1939_vote_share dansk_samling_1939_vote_share nazi_party_vote_share_1939 if  repressionindex2!=0  


generate terror=0
replace terror=1 if repressionindex2!=0
replace terror=. if repressionindex2==. 
ttest logpopulation1940 , by(terror)
ttest urbanshare1940 , by(terror)
ttest  urbanshare , by(terror)
ttest  logpopulation , by(terror)
ttest communist_1939_vote_share, by(terror)
ttest  dansk_samling_1939_vote_share , by(terror)
ttest  nazi_party_vote_share_1939, by(terror)

*Appendix: Removal of largest cities:
destring kommunenummer, replace
*Removal of Copenhagen*
reg share_no_votes_ef_1972 repressionindex2 , robust, if kommunenummer!=101
*Removal of Aarhus*
reg share_no_votes_ef_1972 repressionindex2  , robust, if kommunenummer!=751
*Removal of Odense*
reg share_no_votes_ef_1972 repressionindex2  , robust, if kommunenummer!=461
*Removal of Aalborg*
reg share_no_votes_ef_1972 repressionindex2  , robust, if kommunenummer!=851
*Removal of Frederiksberg*
reg share_no_votes_ef_1972 repressionindex2 , robust, if kommunenummer!=147



*Removal of Copenhagen*
reg share_no_votes_ef_1972 repressionindex2 i.county_n, robust, if kommunenummer!=101
*Removal of Aarhus*
reg share_no_votes_ef_1972 repressionindex2  i.county_n, robust, if kommunenummer!=751
*Removal of Odense*
reg share_no_votes_ef_1972 repressionindex2  i.county_n, robust, if kommunenummer!=461
*Removal of Aalborg*
reg share_no_votes_ef_1972 repressionindex2  i.county_n, robust, if kommunenummer!=851
*Removal of Frederiksberg*
reg share_no_votes_ef_1972 repressionindex2 i.county_n, robust, if kommunenummer!=147



*Removal of Copenhagen*
reg share_no_votes_ef_1972 repressionindex2 nazi_party_vote_share_1939 communist_1939_vote_share dansk_samling_1939_vote_share logpopulation1940 urbanshare1940   i.county_n, robust, if kommunenummer!=101

*Removal of Aarhus*
reg share_no_votes_ef_1972 repressionindex2 nazi_party_vote_share_1939 communist_1939_vote_share dansk_samling_1939_vote_share logpopulation1940 urbanshare1940  i.county_n, robust, if kommunenummer!=751
*Removal of Odense*
reg share_no_votes_ef_1972 repressionindex2 nazi_party_vote_share_1939 communist_1939_vote_share dansk_samling_1939_vote_share logpopulation1940 urbanshare1940  i.county_n, robust, if kommunenummer!=461
*Removal of Aalborg*
reg share_no_votes_ef_1972 repressionindex2 nazi_party_vote_share_1939 communist_1939_vote_share dansk_samling_1939_vote_share logpopulation1940 urbanshare1940  i.county_n, robust, if kommunenummer!=851
*Removal of Frederiksberg*
reg share_no_votes_ef_1972 repressionindex2 nazi_party_vote_share_1939 communist_1939_vote_share dansk_samling_1939_vote_share logpopulation1940 urbanshare1940  i.county_n, robust, if kommunenummer!=147


*Removal of Copenhagen*
reg share_no_votes_ef_1972 repressionindex2 nazi_party_vote_share_1939 communist_1939_vote_share dansk_samling_1939_vote_share logpopulation1940 urbanshare1940 urbanshare logpopulation i.county_n, robust, if kommunenummer!=101

*Removal of Aarhus*
reg share_no_votes_ef_1972 repressionindex2 nazi_party_vote_share_1939 communist_1939_vote_share dansk_samling_1939_vote_share logpopulation1940 urbanshare1940 urbanshare logpopulation i.county_n, robust, if kommunenummer!=751
*Removal of Odense*
reg share_no_votes_ef_1972 repressionindex2 nazi_party_vote_share_1939 communist_1939_vote_share dansk_samling_1939_vote_share logpopulation1940 urbanshare1940 urbanshare logpopulation i.county_n, robust, if kommunenummer!=461
*Removal of Aalborg*
reg share_no_votes_ef_1972 repressionindex2 nazi_party_vote_share_1939 communist_1939_vote_share dansk_samling_1939_vote_share logpopulation1940 urbanshare1940 urbanshare logpopulation i.county_n, robust, if kommunenummer!=851
*Removal of Frederiksberg*
reg share_no_votes_ef_1972 repressionindex2 nazi_party_vote_share_1939 communist_1939_vote_share dansk_samling_1939_vote_share logpopulation1940 urbanshare1940 urbanshare logpopulation i.county_n, robust, if kommunenummer!=147

*Removal of Copenhagen*
reg share_no_votes_ef_1972 repressionindex2 nazi_party_vote_share_1939 communist_1939_vote_share dansk_samling_1939_vote_share logpopulation1940 urbanshare1940 urbanshare logpopulation, robust, if kommunenummer!=101
*Removal of Aarhus*
reg share_no_votes_ef_1972 repressionindex2 nazi_party_vote_share_1939 communist_1939_vote_share dansk_samling_1939_vote_share logpopulation1940 urbanshare1940 urbanshare logpopulation, robust, if kommunenummer!=751
*Removal of Odense*
reg share_no_votes_ef_1972 repressionindex2 nazi_party_vote_share_1939 communist_1939_vote_share dansk_samling_1939_vote_share logpopulation1940 urbanshare1940 urbanshare logpopulation, robust, if kommunenummer!=461
*Removal of Aalborg*
reg share_no_votes_ef_1972 repressionindex2 nazi_party_vote_share_1939 communist_1939_vote_share dansk_samling_1939_vote_share logpopulation1940 urbanshare1940 urbanshare logpopulation, robust, if kommunenummer!=851
*Removal of Frederiksberg*
reg share_no_votes_ef_1972 repressionindex2 nazi_party_vote_share_1939 communist_1939_vote_share dansk_samling_1939_vote_share logpopulation1940 urbanshare1940 urbanshare logpopulation, robust, if kommunenummer!=147








*Appendix: County-clustered standard errors*
reg share_no_votes_ef_1972 repressionindex2, cluster (county_n)
reg share_no_votes_ef_1972 repressionindex2   i.county_n, cluster (county_n)
reg share_no_votes_ef_1972 repressionindex2   logpopulation1940 urbanshare1940 i.county_n, cluster (county_n)
reg share_no_votes_ef_1972 repressionindex2 nazi_party_vote_share_1939 communist_1939_vote_share dansk_samling_1939_vote_share logpopulation1940 urbanshare1940 i.county_n, cluster (county_n)
reg share_no_votes_ef_1972 repressionindex2 urbanshare logpopulation  i.county_n, cluster (county_n)
reg share_no_votes_ef_1972 repressionindex2 nazi_party_vote_share_1939 communist_1939_vote_share dansk_samling_1939_vote_share logpopulation1940 urbanshare1940 urbanshare logpopulation i.county_n, cluster (county_n)



reg share_no_votes_ef_1972 repressionindex2, cluster (county_pre_1970_n)
reg share_no_votes_ef_1972 repressionindex2   i.county_n, cluster (county_pre_1970_n)
reg share_no_votes_ef_1972 repressionindex2   logpopulation1940 urbanshare1940 i.county_n, cluster (county_pre_1970_n)
reg share_no_votes_ef_1972 repressionindex2 nazi_party_vote_share_1939 communist_1939_vote_share dansk_samling_1939_vote_share logpopulation1940 urbanshare1940 i.county_n, cluster (county_pre_1970_n)
reg share_no_votes_ef_1972 repressionindex2 urbanshare logpopulation  i.county_n, cluster (county_pre_1970_n)
reg share_no_votes_ef_1972 repressionindex2 nazi_party_vote_share_1939 communist_1939_vote_share dansk_samling_1939_vote_share logpopulation1940 urbanshare1940 urbanshare logpopulation i.county_n, cluster (county_pre_1970_n)


*Appendix: Instrumental variable regression*

ivregress 2sls  share_no_votes_ef_1972 nazi_party_vote_share_1939 communist_1939_vote_share dansk_samling_1939_vote_share logpopulation1940 urbanshare1940 urbanshare logpopulation i.county_n ( repressionindex2 = gestapo_hq), robust 

estat firststage


*first stage*
reg repressionindex2  gestapo_hq nazi_party_vote_share_1939 communist_1939_vote_share dansk_samling_1939_vote_share logpopulation1940 urbanshare1940 urbanshare logpopulation i.county_n i.county_n, robust 



*Instrumental varible regression with alternative coding of gestapo HQ*
ivregress 2sls  share_no_votes_ef_1972 nazi_party_vote_share_1939 communist_1939_vote_share dansk_samling_1939_vote_share logpopulation1940 urbanshare1940 urbanshare logpopulation i.county_n ( repressionindex2 = fullgestapo_hq), robust 


reg repressionindex2  fullgestapo_hq nazi_party_vote_share_1939 communist_1939_vote_share dansk_samling_1939_vote_share logpopulation1940 urbanshare1940 urbanshare logpopulation i.county_n, robust 




*Apppendix: Turnout*
reg turnout_ef_1972 repressionindex2 nazi_party_vote_share_1939 communist_1939_vote_share dansk_samling_1939_vote_share logpopulation1940 urbanshare1940 urbanshare logpopulation i.county_n, robust


* Apppendix: The components of the index one by one* 
generate milldam=damages_dkk/1000000

reg share_no_votes_ef_1972 number_killed, robust

reg share_no_votes_ef_1972  number_attempted_killed, robust

reg share_no_votes_ef_1972  wounded  , robust

reg share_no_votes_ef_1972 milldam  , robust


reg share_no_votes_ef_1972 number_killed  i.county_n, robust
reg share_no_votes_ef_1972  number_attempted_killed  i.county_n, robust
reg share_no_votes_ef_1972 wounded   i.county_n, robust
reg share_no_votes_ef_1972 milldam   i.county_n, robust


reg share_no_votes_ef_1972 number_killed  logpopulation1940 urbanshare1940 i.county_n, robust
reg share_no_votes_ef_1972  number_attempted_killed logpopulation1940 urbanshare1940 i.county_n, robust
reg share_no_votes_ef_1972  wounded  logpopulation1940 urbanshare1940 i.county_n, robust
reg share_no_votes_ef_1972 milldam   logpopulation1940 urbanshare1940 i.county_n, robust



reg share_no_votes_ef_1972 number_killed nazi_party_vote_share_1939 communist_1939_vote_share dansk_samling_1939_vote_share logpopulation1940 urbanshare1940 i.county_n, robust
reg share_no_votes_ef_1972 number_attempted_killed nazi_party_vote_share_1939 communist_1939_vote_share dansk_samling_1939_vote_share logpopulation1940 urbanshare1940 i.county_n, robust
reg share_no_votes_ef_1972 wounded nazi_party_vote_share_1939 communist_1939_vote_share dansk_samling_1939_vote_share logpopulation1940 urbanshare1940 i.county_n, robust
reg share_no_votes_ef_1972 milldam  nazi_party_vote_share_1939 communist_1939_vote_share dansk_samling_1939_vote_share logpopulation1940 urbanshare1940 i.county_n, robust

 

reg share_no_votes_ef_1972 number_killed urbanshare logpopulation  i.county_n, robust
reg share_no_votes_ef_1972  number_attempted_killed urbanshare logpopulation  i.county_n, robust
reg share_no_votes_ef_1972 wounded  urbanshare logpopulation  i.county_n, robust
reg share_no_votes_ef_1972  milldam urbanshare logpopulation  i.county_n, robust


reg share_no_votes_ef_1972 number_killed nazi_party_vote_share_1939 communist_1939_vote_share dansk_samling_1939_vote_share logpopulation1940 urbanshare1940 urbanshare logpopulation i.county_n, robust
reg share_no_votes_ef_1972 number_attempted_killed nazi_party_vote_share_1939 communist_1939_vote_share dansk_samling_1939_vote_share logpopulation1940 urbanshare1940 urbanshare logpopulation i.county_n, robust
reg share_no_votes_ef_1972 wounded  nazi_party_vote_share_1939 communist_1939_vote_share dansk_samling_1939_vote_share logpopulation1940 urbanshare1940 urbanshare logpopulation i.county_n, robust
reg share_no_votes_ef_1972 milldam  nazi_party_vote_share_1939 communist_1939_vote_share dansk_samling_1939_vote_share logpopulation1940 urbanshare1940 urbanshare logpopulation i.county_n, robust

*Appendix: Alternative terror index specifications*

generate repressionindex4= number_killed+ number_attempted_killed+ wounded +damages_dkk/1000000
sum repressionindex4
reg share_no_votes_ef_1972 repressionindex4 nazi_party_vote_share_1939 communist_1939_vote_share dansk_samling_1939_vote_share logpopulation1940 urbanshare1940 urbanshare logpopulation i.county_n, robust

generate repressionindex5= number_killed+ number_attempted_killed/4+ wounded/4 +damages_dkk/1000000
sum repressionindex5
reg share_no_votes_ef_1972 repressionindex5 nazi_party_vote_share_1939 communist_1939_vote_share dansk_samling_1939_vote_share logpopulation1940 urbanshare1940 urbanshare logpopulation i.county_n, robust

generate repressionindex3= number_killed+ number_attempted_killed/2+ wounded/2 +logdamages
sum repressionindex3
reg share_no_votes_ef_1972 repressionindex3 nazi_party_vote_share_1939 communist_1939_vote_share dansk_samling_1939_vote_share logpopulation1940 urbanshare1940 urbanshare logpopulation i.county_n, robust

generate repressionindex= number_killed+  number_attempted_killed+ wounded+ logdamages
reg share_no_votes_ef_1972 repressionindex nazi_party_vote_share_1939 communist_1939_vote_share dansk_samling_1939_vote_share logpopulation1940 urbanshare1940 urbanshare logpopulation i.county_n, robust

reg share_no_votes_ef_1972 repressionindex4 , robust

reg share_no_votes_ef_1972 repressionindex5  , robust

reg share_no_votes_ef_1972 repressionindex3  , robust

reg share_no_votes_ef_1972 repressionindex , robust



reg share_no_votes_ef_1972 repressionindex4  i.county_n, robust

reg share_no_votes_ef_1972 repressionindex5  i.county_n, robust

reg share_no_votes_ef_1972 repressionindex3  i.county_n, robust

reg share_no_votes_ef_1972 repressionindex  i.county_n, robust







reg share_no_votes_ef_1972 repressionindex4 nazi_party_vote_share_1939 communist_1939_vote_share dansk_samling_1939_vote_share logpopulation1940 urbanshare1940  i.county_n, robust

reg share_no_votes_ef_1972 repressionindex5 nazi_party_vote_share_1939 communist_1939_vote_share dansk_samling_1939_vote_share logpopulation1940 urbanshare1940  i.county_n, robust

reg share_no_votes_ef_1972 repressionindex3 nazi_party_vote_share_1939 communist_1939_vote_share dansk_samling_1939_vote_share logpopulation1940 urbanshare1940  i.county_n, robust

reg share_no_votes_ef_1972 repressionindex nazi_party_vote_share_1939 communist_1939_vote_share dansk_samling_1939_vote_share logpopulation1940 urbanshare1940  i.county_n, robust




*Appendix: Terror Index by population*
generate number_killed_pop= number_killed/population_1972


 generate number_attemped_killed_pop= number_attempted_killed/2/population_1972
 
 
 generate wounded_pop= wounded/2/population_1972
 
 
 generate damages_pop=damages_dkk/1000000/population_1972
 
 generate index_pop=  number_killed_pop +number_attemped_killed_pop + wounded_pop + damages_pop


 
 generate number_killed_pop_log= number_killed/logpopulation


 generate number_attemped_killed_pop_log= number_attempted_killed/2/logpopulation
 
 
 generate wounded_pop_log= wounded/2/logpopulation
 
 
 generate damages_pop_log=damages_dkk/1000000/logpopulation
 
 generate index_pop_log=  number_killed_pop_log +number_attemped_killed_pop_log + wounded_pop_log + damages_pop_log



reg share_no_votes_ef_1972   index_pop_log, robust 
reg share_no_votes_ef_1972  index_pop_log   i.county_n, robust
reg share_no_votes_ef_1972    index_pop_log logpopulation1940 urbanshare1940 i.county_n, robust
reg share_no_votes_ef_1972   index_pop_log nazi_party_vote_share_1939 communist_1939_vote_share dansk_samling_1939_vote_share logpopulation1940 urbanshare1940 i.county_n, robust
reg share_no_votes_ef_1972  index_pop_log urbanshare logpopulation  i.county_n, robust
reg share_no_votes_ef_1972  index_pop_log  nazi_party_vote_share_1939 communist_1939_vote_share dansk_samling_1939_vote_share logpopulation1940 urbanshare1940 urbanshare logpopulation i.county_n, robust



*Appendix: Distance weighted terror index*
reg share_no_votes_ef_1972 distance_weighted_terror_index , robust 
reg share_no_votes_ef_1972 distance_weighted_terror_index   i.county_n, robust
reg share_no_votes_ef_1972  distance_weighted_terror_index  logpopulation1940 urbanshare1940 i.county_n, robust
reg share_no_votes_ef_1972 distance_weighted_terror_index  nazi_party_vote_share_1939 communist_1939_vote_share dansk_samling_1939_vote_share logpopulation1940 urbanshare1940 i.county_n, robust
reg share_no_votes_ef_1972 distance_weighted_terror_index  urbanshare logpopulation  i.county_n, robust
reg share_no_votes_ef_1972 distance_weighted_terror_index  nazi_party_vote_share_1939 communist_1939_vote_share dansk_samling_1939_vote_share logpopulation1940 urbanshare1940 urbanshare logpopulation i.county_n, robust

